/*
 * @Author       : wang chao
 * @Date         : 2023-01-12 08:39:37
 * @LastEditors  : wang chao
 * @LastEditTime : 2023-05-16 08:47:19
 * @FilePath     : config_rtu_mb.h
 * @Description  :
 * Copyright 2023 BingShan, All Rights Reserved.
 */
#ifndef __CONFIG_LITE_MODBUS_H__
#define __CONFIG_LITE_MODBUS_H__

/*
 *RTTHREAD PORT
 */
#define RTU_MODBUS_RTTHREAD            1
#define RTU_MODBUS_RTTHREAD_USE_DEVICE 1
#define RTU_MODBUS_RTTHREAD_USE_SOCKET 1

#if RTU_MODBUS_RTTHREAD
#include "rtu_mb_port_rtthread.h"
#endif

#define RTU_MODBUS_CRC_BYTE_SWAP   0

/*
 *调试信息打印
 */
#define RTU_MODBUS_USING_MSG_DEBUG (0U)

#endif /* __CONFIG_LITE_MODBUS_H__ */
